package com.revealreader.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.*;

/**
 * App to manage the titles for reveal reader on the server
 * @author jwiggins
 *
 */
public class Catalog implements EntryPoint {
	
	protected Categories categories = new Categories();

	@Override
	public void onModuleLoad() {
		HorizontalSplitPanel mainContainer = new HorizontalSplitPanel();
		{
			mainContainer.add(categories);
			mainContainer.add(new HTML("Details, details"));
			
			mainContainer.setSize("100%", "100%");
			mainContainer.setSplitPosition("20%");
		}
		
		RootPanel.get().add(mainContainer);
	}

}
